[XEN][POWERPC] Remove limit on the page frame table
authorJimi Xenidis <jimix@watson.ibm.com>
Fri, 29 Sep 2006 02:31:23 +0000 (22:31 -0400)
committerJimi Xenidis <jimix@watson.ibm.com>
Fri, 29 Sep 2006 02:31:23 +0000 (22:31 -0400)
Dunno where the limit came from, but it is the reason we were
asserting in the page allocator.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : .%21%9F%06%F9%A4%07%D12H%EAz8%93s%A20%28%C4%26

xen/arch/powerpc/mm.c

index a71bb8c2f877b4007e0a782992f0c8c3d36459ef..06341511dad4e9211db40bc037b26cb47bb6fc2b 100644 (file)
@@ -164,8 +164,6 @@ void __init init_frametable(void)
     int i;
 
     nr_pages = PFN_UP(max_page * sizeof(struct page_info));
-    nr_pages = min(nr_pages, (4UL << (20 - PAGE_SHIFT)));
-    
 
     p = alloc_boot_pages(nr_pages, 1);
     if (p == 0)